package org.zfes.snowier.zbss.xzy.biz.device.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.zbss.xzy.biz.device.model.Device;
public interface IDeviceService{

	 Optional<Device> loadDeviceById(Long id);
	
	 void createDevice(Device device);
	
	 void updateDevice(Device device);

	 void deleteDevice(Long id);
	
	 DataSet loadDeviceDataSet(Map<String, Object> params);
	 
	Optional<Device> loadByDeviceNum(java.lang.String deviceNum);
	

 	void setDeviceStatus(Long id, Byte status);
}